const { defineConfig } = require("@vue/cli-service");
const path = require("path");
function resolve(dir) {
  return path.join(__dirname, dir);
}
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false, //关闭Eslint语法检查
  configureWebpack: {
    resolve: {
      alias: {
        "@": resolve("src"),
      },
    },
  },
  publicPath: "./",
  devServer: {
    // proxy:"http://backend-api-01.newbee.ltd"
    proxy: {
      "/api": {
        target: "http://backend-api-01.newbee.ltd",
      },
    },
  },
});
